package com.dao;

import com.entity.PageBean;
import com.entity.Role;

import java.util.List;

public interface RoleDao {
    List<Role> findAll();

    void findAllPege(PageBean pageBean);

    int addRole(Role role);

    Role findByName(String name);

    int deleteRole(String name);

    int updateRole(Role role);
}
